#include "workthread.h"
#include <QDebug>
WorkThread::WorkThread()
{

}

void WorkThread::run()
{
    while (1) {
        for(int n = 0;n < 10;++n)
        {
            sleep(1);
            qDebug() << n << n;
        }
    }
}
